package com.sita.redsun.connector.server;

/**
 * Created by zhebinwang on 2017/4/1.
 * 描述了本节点的信息
 *
 */
public class NodeInfo {

    private int nodeid; //节点编码
    private String nodename; //节点名称
    private String interaddress; //节点的外网地址
    private String lanaddress;  //节点的内网地址
    private int nodetype; //节点类型， 1、前置分发 2、后端业务oem


    public int getNodeid() {
        return nodeid;
    }

    public NodeInfo setNodeid(int nodeid) {
        this.nodeid = nodeid;
        return this;
    }

    public String getNodename() {
        return nodename;
    }

    public NodeInfo setNodename(String nodename) {
        this.nodename = nodename;
        return this;
    }

    public String getInteraddress() {
        return interaddress;
    }

    public NodeInfo setInteraddress(String interaddress) {
        this.interaddress = interaddress;
        return this;
    }

    public String getLanaddress() {
        return lanaddress;
    }

    public NodeInfo setLanaddress(String lanaddress) {
        this.lanaddress = lanaddress;
        return this;
    }

    public int getNodetype() {
        return nodetype;
    }

    public NodeInfo setNodetype(int nodetype) {
        this.nodetype = nodetype;
        return this;
    }
}
